package com.loan.vo;

import com.loan.entity.Emp;
import com.loan.group.LoanStatusGroup;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName: ContractEmp
 * @Author: wYin
 * @Date: 2022/1/22 9:55
 */
@Data
public class ContractEmp {
    @NotNull(message = "员工信息不能为空",groups = {LoanStatusGroup.class})
    @Valid
    private Emp emp;
    @NotBlank(message = "选择的放款状态不能为空",groups = {LoanStatusGroup.class})
    private String status;
}
